<?php
/* @var $this SmsController */
/* @var $model Sms */
/* @var $form CActiveForm */
?>

<div class="search">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


	<?php echo $form->label($model,'activity_id'); ?>
        <?php echo $form->dropDownList($model,'activity_id',CHtml::listData(Activity::model()->findAll(), 'id', 'title'),
                        array('empty'=>'-全部-')); ?> 

	<?php echo $form->label($model,'is_type'); ?>
	<?php echo $form->dropDownList($model,'is_type',Ccommon::ctypeList(),array('empty'=>'-全部-')); ?> 


	<?php echo CHtml::submitButton('查 询',array('class'=>'but')); ?>

<?php $this->endWidget(); ?>

</div><!-- search-form -->